import { get, post } from '@/utils/request'

export const statisticsProgress = (query) => {
  return get('/admin/statistics/progress', query)
}

export const statisticsSexInfo = (query) => {
  return get('/admin/statistics/sexInfo', query)
}

export const statisticsAgeInfo = (query) => {
  return get('/admin/statistics/ageInfo', query)
}

export const statisticsEduInfo = (query) => {
  return get('/admin/statistics/eduInfo', query)
}

export const statisticsWorkYearsInfo = (query) => {
  return get('/admin/statistics/workYearsInfo', query)
}

export const statisticsJobInfos = (query) => {
  return get('/admin/statistics/jobInfos', query)
}

export const excelJobInfos = (query) => {
  return get('/admin/excel/jobInfos', query, { responseType: 'arraybuffer' }, true)
}

//
export const statisticsFunnelInfo = (query) => {
  return get('/admin/statistics/funnelInfo', query)
}

export const statisticsEliminateInfo = (query) => {
  return get('/admin/statistics/eliminateInfo', query)
}

export const eliminateReasonInfo = (query) => {
  return get('/admin/statistics/eliminateReasonInfo', query)
}

export const jobAnalysisInfo = (query) => {
  return get('/admin/statistics/jobAnalysisInfo', query)
}

export const jobAnalysisInfoExcel = (query) => {
  return get('/admin/excel/jobAnalysisInfo', query, { responseType: 'arraybuffer' }, true)
}

export const sevenResumeInfo = (query) => {
  return get('/admin/statistics/sevenResumeInfo', query)
}

export const listResume = (query) => {
  return get('/admin/statistics/listResume', query)
}

export const excelExportXls = (query) => {
  return get('/admin/excel/exportXls', query, { responseType: 'arraybuffer' }, true)
}

export const statisticsIndustry = (query) => {
  return get('/statisticsIndustry/list', query)
}

export const statisticsArea = (query) => {
  return get('/statisticsArea/list', query)
}

export const industryExportXls = (query) => {
  return get('/statisticsIndustry/exportXls', query, { responseType: 'arraybuffer' }, true)
}

export const areaExportXls = (query) => {
  return get('/statisticsArea/exportXls', query, { responseType: 'arraybuffer' }, true)
}

export const statisticsFillInInfo = (query) => {
  return get('/admin/fillInInfo/list', query)
}

export const fillInInfoExportXls = (query) => {
  return get('/admin/fillInInfo/exportXls', query, { responseType: 'arraybuffer' }, true)
}
